<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ include file="header.jsp" %>
<script type="text/javascript" language="javascript">
        $(document).ready(function () {
            bindFrameUrl();
            $(window).resize(function () {
                fixFrame(document.getElementById('frame'));
            });
            var action = "<%=request.getParameter("action")==null?"":request.getParameter("action")%>";
            if(action!=""){
            	$("#"+action).click();
            }else{
            	$("#edit-profile").click();
            }
        });

        function showMessage(title, content) {
            alert(content);
//            $('#messageTitle').html(title);
//            $('#messageContent').html(content);
//            jQuery.facebox($('#messages').html());
        }
</script>

<div class="tabCont pal clearfix">

            <div class="leftMenu">
                <a href="javascript:void(0)" class="selected" url="<%=path %>/admin/edit-profile.do" id="edit-profile">个人资料</a>

                <a href="javascript:void(0)" class="" url="<%=path %>/admin/publish-house.do" id="PublishFY">发布房源</a>
                <a href="javascript:void(0)" url="my-sale-info.html">管理房源</a>

                <a href="javascript:void(0)" class="" url="<%=path %>/admin/publish-news.do" id="PublishNews">发布新闻</a>
                <a href="javascript:void(0)" url="<%=path %>/admin/my-news.do">管理新闻</a>
                <a href="javascript:void(0)" url="my-fav.html">管理收藏</a>
            </div>

            <div class="rightBorder">
                <div class="rightBorderTop">
                </div>
                <div class="rightBorderBox">
                    <!-- begin content -->
                    <iframe id="frame" src="" width="780px" height="100%" scrolling="no"
                            onload="fixFrame(this)" frameborder="0">
                    </iframe>
                </div>
                <div class="clear">
                </div>
                <!-- end -->
                <div class="rightBorderBtm">
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
<div class="tabBtm"></div>

<%@ include file="foot.jsp" %>   